From c5e282ef0a25e0369bb84ea33d9a3658904490ca Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 20 Dec 2009 20:32:24 +0000 Subject: [PATCH] Bushnell fixes for 64-bit system. --- bushnell.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bushnell.c b/bushnell.c index 0b7a0403f..513edf3a1 100644 --- a/bushnell.c +++ b/bushnell.c @@ -177,13 +177,13 @@ wr_deinit(void) { */ static void bushnell_read(void) { - long lat_tmp,lon_tmp; + gbint32 lat_tmp,lon_tmp; unsigned int unknown; unsigned int icon; waypoint *wpt_tmp = waypt_new(); - lat_tmp = gbfgetuint32(file_in); - lon_tmp = gbfgetuint32(file_in); + lat_tmp = gbfgetint32(file_in); + lon_tmp = gbfgetint32(file_in); icon = gbfgetc(file_in); wpt_tmp->icon_descr = bushnell_get_name_from_symbol(icon); -- 2.30.2